package com.迭代器模式;

/**
 * 自定义的课程集合CourseAggregate
 * @author Fang Ruichuan
 * @date 2022-10-08 21:53
 */
public interface CourseAggregate {
    void add(Course course);

    void remove(Course course);

    Iterator<Course> iterator();
}
